package com.changpay.zywy.mvp.contract

import com.changpay.zywy.base.IModel
import com.changpay.zywy.base.IPresenter
import com.changpay.zywy.base.IView
import com.changpay.zywy.bean.HttpResult
import com.changpay.zywy.bean.UserInfo
import io.reactivex.Observable

interface MineContract {


    interface View : IView {
        fun showUserInfo(data: UserInfo)

    }

    interface Presenter : IPresenter<View> {
        fun getUserInfo(token: String)
    }

    interface Model : IModel {

        fun getUserInfo(token: String) : Observable<HttpResult<UserInfo>>

    }
}